treelistrowsorter: Add a bandaid
authorMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2020 01:27:23 +0000 (21:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2020 11:58:01 +0000 (07:58 -0400)
The GtkTreeListRowSortKeys implementation doesn't
know how it wants to cache its keys, and just crashes.

Since that is not cool, add a bandaid fix that forces
it to recreate its keys instead. Extra work, but hey,
no crash.

Related: #3228

gtk/gtktreelistrowsorter.c

index 740a2ec17f2ac491c835b42f0fe4692b12e62ca4..cf19296a93f7b9796a13fec674de846bfa84d1d8 100644 (file)
@@ -210,6 +210,9 @@ gtk_tree_list_row_sort_keys_is_compatible (GtkSortKeys *keys,
   GtkTreeListRowSortKeys *self = (GtkTreeListRowSortKeys *) keys;
   GtkTreeListRowSortKeys *compare;
 
+  /* FIXME https://gitlab.gnome.org/GNOME/gtk/-/issues/3228 */
+  return FALSE;
+
   if (keys->klass != other->klass)
     return FALSE;